package com.ybkj.o2o.zhuanche.service.impl;

import com.ybkj.o2o.zhuanche.entity.PayRecordOrder;
import com.ybkj.o2o.zhuanche.entity.PayRecordOrderCriteria;
import com.ybkj.o2o.zhuanche.mapper.BaseMapper;
import com.ybkj.o2o.zhuanche.mapper.PayRecordOrderMapper;
import com.ybkj.o2o.zhuanche.service.PayRecordOrderService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DefaultPayRecordOrderService extends
    AbstractBaseService<PayRecordOrder, PayRecordOrderCriteria, Long> implements
    PayRecordOrderService {

  @Autowired
  private PayRecordOrderMapper payRecordOrderMapper;

  @Override
  public BaseMapper<PayRecordOrder, PayRecordOrderCriteria, Long> getMapper() {
    return payRecordOrderMapper;
  }

  @Override
  public PayRecordOrder findById(Long id) {
    return payRecordOrderMapper.findById(id);
  }

}
